package com.cxj.link.task;

import java.lang.reflect.Array;

import com.cxj.link.view.AbstractBoard;
import com.cxj.link.vo.GameConfig;

public class Level8 extends AbstractBoard {
    @Override
    protected int[][] initPieces(GameConfig paramGameConf) {
        int k = paramGameConf.getXSize();
        int i = paramGameConf.getYSize();
        int[] arrayOfInt1 = new int[2];
        arrayOfInt1[0] = k;
        arrayOfInt1[1] = i;
        int[][] arrayOfInt = (int[][]) Array.newInstance(Integer.TYPE, arrayOfInt1);
        for (k = 0; k < arrayOfInt.length; k++)
            for (int j = 0; j < arrayOfInt[k].length; j++)
                arrayOfInt[k][j] = 1;
        arrayOfInt[0][2] = 0;
        arrayOfInt[0][5] = 0;
        arrayOfInt[1][2] = 0;
        arrayOfInt[1][5] = 0;
        arrayOfInt[2][2] = 0;
        arrayOfInt[2][5] = 0;
        arrayOfInt[3][2] = 0;
        arrayOfInt[3][5] = 0;
        arrayOfInt[4][2] = 0;
        arrayOfInt[4][5] = 0;
        arrayOfInt[5][2] = 0;
        arrayOfInt[5][5] = 0;
        arrayOfInt[6][2] = 0;
        arrayOfInt[6][5] = 0;
        arrayOfInt[7][2] = 0;
        arrayOfInt[7][5] = 0;
        return arrayOfInt;
    }
}